<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
import="domain.Contact"    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>

<%
Contact c=(Contact)request.getAttribute("contact");
%>
<form method="post" action="modifyContact">
		<table>
			<tr>
				<th><h2>Veuillez saisir les les nouvelles valeurs des champs</h2></th>
			</tr>
				<input type="hidden" name="id" value="<%= request.getParameter("id") %>"/>
				<%session.removeAttribute("id"); %>
				<tr>
					<td><i>First Name: ancienne valeur <b><%= c.getFirstName()%></b>   nouvelle valeur <input type="text" name="firstname" size="25"></i></td>
				</tr>
				<tr>
					<td><i>Last Name: ancienne valeur <b><%= c.getLastName()%></b>	nouvelle valeur <input type="text" name="lastname" size="25"></i></td>
				</tr>
				<tr>
					<td><i>Email Adress: ancienne valeur <b><%= c.getEmail()%></b>	nouvelle valeur <input type="text" name="email" size="25"></i></td>
				</tr>
				<tr>
					<td><input class="button" type="submit" value="Submit" /><input class="button" type="reset" value="Reset"></td>
				</tr>
			
		</table>
	</form>

</body>
</html>